package com.xkcoding.springbootdemoelasticsearch.web.controller;

import java.util.Date;

import lombok.Getter;
import lombok.Setter;

/**
 * 加上了@Document注解之后，默认情况下这个实体中所有的属性都会被建立索引、并且分词
 */
@Getter
@Setter
public class EsModel {
	private String id;
	private String name;
	private Integer age;
	private Date date;
}
